module.exports = [
  // user login
  {
    url: '/user/login',
    type: 'post',
    response: config => {
      return {
        code: 200,
        msg: '',
        data: {
          token: 'token'
        }
      }
    }
  },

  // get user info
  {
    url: '/user/info',
    type: 'post',
    response: config => {
      return {
        code: 200,
        msg: '',
        data: {
          id: '1',
          name: 'admin',
          roleName: '管理员',
          type: 'platform'
        }
      }
    }
  }
]
